macosx dialog provider: fix misleading (and duplicate) module shortcut
macosx dialog provider: fix compilation warnings