Close file menu after File>new, File>open and more