removed inherit (methods don't override conecta)
added autoSelect option to automatically add new record
set newdata to true so record will be deleted on cancel