Attach events to parent element for dynamically added elements to be bound to click events