Now show alert dialog when someone tries to remove a element

do you really need comments for this? its an if statement