Close dialog hidden in full screen mode