Fix a problem of not showing error when the GUI mode fails.
Install Python dialog package if it's not there for the live
triage.