Turns off file menu after action.