improved formatting. added cancel buttons on edit and add pages