Added modal dialogs
 Erase dialog
 Rec+BT-pause dialog
Added update of mode according to device