can now close popup without exit button