Adds edit view and form for messags.