Updating dialog callbacks and props

- openImmediately is firstly set in the getDefaultProps method now and ca be overriden in getInitialState (it's a more react-way approach to set a default parameter)

- added a callback when the dialog is dismissed, works like the onShow callback

- identation