Add Delete action to library dialog.