Remove unnecessary logic after changing to manually close mode.