formated
added dialog fixed event problem locally