Gateway: toggle menu internally upon file selection.