refactored
previous, next now working
added save function
delete visit, delete dialog, fixed tab order
refactored details layout
added license txt