Modal file dialog.
Dialogs should appear before result panel.
Should not kill self, otherwise following statements never executes.
Replay speed control refactoring.