fix #463 Focus on element inside Dialog widget not working on IE7

After dialog popup open, the $focus called from the callback it's not applied to the element.