Avoid a crash at shutdown.

	* glom/bakery/appwindow_withdoc.cc: on_menu_file_close():
	Close the document after hiding the UI, instead of the other way
	around because, with Gio::Application, hiding the window can cause
	it to be deleted, making any further use of it impossible.