Don't close popup when it's reduced but reopen it