refectory display of modals

Added a :modals named yield block, that will put the modal markup at
the end of the html body.  Wrap your modal html in a ‘content_for
:modals’ block.