adds delete mark button, works with ujs