deleted jquery, converted dialog to use WP jquery