added handler for dialog load event