add click handler that adds tile at position