Resolves editor buttons to prevent submitting form on click