Add event listening on marker creation