Adds new and edit views