clicking a button stops event propagation