Fixes #234: Filedialog not disapearing when loading log file