Added an angular wrapper for confirmation dialogs
Added states to xim buttons