Added button edit and delete(fix needed). Add edit dialog and delete dialog.