gallery editor removing ui controls