Scenario to reproduce:
- Select "Tools" -> "Sanger data analysis" -> "Reads quality control and alignment..." in the main menu.
- Set any valid reference and reads. Accept the dialog.
Expected state: algorithm finishes, a new view with the result object opens. - Call the dialog again.
Expected state: dialog options are already set. - Accept the dialog.
Expected state: a new document is created with a new object.
Current state: the first document is overwritten.
Restoring old settings makes the result file path be the same as for the first launch. The file name should be rolled. Actually, it should be done by SaveController, not by the dialog.