First version of jquery.dialog2