overrode jquery dialog close button