Added callbacks to Dialog.show, changed params to obj

Implemented persist option for info boxes