Fix dismiss of alertDialog when name=""
add edit and delete CAB and functions in dictionary