Added save file dialog for logging to file (incomplete)