compositor: end the popup grab when hidden