Close button support
Added close button to title element