Moved settings button to common list of widget's elements.
Added alert dialog shown when settings button is about to hide.