various changes to editing, deleting dynamic alert