Automatically add file extension when no is given
When saving a file, the dialog asks for a file name and in the combobox usually a filter with a specific extension is selected, e.g., Petrack project files (*pet). When entering a file name users (at least me) expect that the extension would be added automatically. We should check here if a extension was added, if not add it depending on the filter.