Finalized Dialog View

Completed dialog view along with updating model and main view