url updates properly when event is selected/deselected