api level 18 + refractor add/edit dialog