looking for a very simple implementation of modal dialog box without using jquery UI.
just for example
I think you're looking for something like this:
$('.modal .titlebar a').click(function() { $(this).parents('.modal').hide(); }); $('button.open-modal').click(function() { $('#something').show(); });