Disable grid buttons after pressing "delete".