Fixes query frame not going away on publish within a popup.