switch onOpen method to onShow so dialog content shows when openOnStartu...

...p:true

fixed #244