Dialog fixes, added hook implementation

All hooks need to be reimplemented.