Added native close methods for file / menu close buttons.