some dialogs not working on Mac OS
Merge pull request #75 from l1ll1/master

some dialogs not working on Mac OS