More unified dialog system and added open dialog
Added open dialog callback to engine