Removed a preventDefault & stopPropagation, they were unnecessary and prevented a button click