Initial implementation of the delete butoon.