improve Position utility
improve Widget class; implement Dialog, Mask widgets.