Add option to toggle display of modal footer & buttons

I added an option to toggle the display of the footer so I could use modals purely for display purposes (similar to a lightbox) instead of a dialog. Thought others might find this useful. Open to comments, suggestions!