return 'this' when using $.fn.dialog