cleaned the code and make sure that backdrop and dialog animate simultaneous
minor