It seems that it doesn't call the beforeClose and open function from jquery dialog. Can this be checked? Thank you.