Validation is now working in modal edit
Added flash method for list_view