modify showFileOpenDialog, showFileSaveDialog
revert pass.py