Fixed some HTML generation problems.
Added the confirm delete on the record menu
Fixed the back button on delete confirm