changed write-in selector behavior to trigger id from data- attribute