Updated ajax-modal functionality to strip out title and submit buttons