event Propagtion stoped if clicked on buttons