Fixed reopen dialog after closing it minimized