finished load/save functions of Dialog class , but need some bug fixes for EditBox saving