Fixing dialog issue on base page and cleaning up vestigal events.