delete confirmation and cursor focus