Added two standard paths to file open/save dialog

In particular Desktop and Downloads have been added.
Also introduced a new function to create a file dialog
in order to prevent code duplication.