Started using custom events for toggling form and task deletion