Fix to close query editor page after customize popup