Hide window on button click