ERT-514 Export of plot to png and PDF, changed the save file dialog in order to work on Linux