renaming html fragment
moving layout conditions to the html fragment
merging styles under the namespace ui-modal
css approach to centering