add comma and enter handler on tag creation