CTkToplevel grab_set() fails when called before the window is fully realized on screen. Defer to after(50ms) so the window has time to become viewable.
CTkToplevel grab_set() fails when called before the window is fully realized on screen. Defer to after(50ms) so the window has time to become viewable.