block links and forms when edit mode is on

This allows editing links and submit buttons. Clicking the text to edit it, would result in a redirection or form submission. Fix would prevent this.