minor DAO bugs, dialog fragment enhancement