Added dropdown for template selection
Added footer buttons and style