add edit page - TODO: implement buttons' functionality