Resolves editor buttons to not submit form on click