Panel now saves in the window