addjust min size of main window, show created invoices in file dialog