Prevents default button events to have more isolated control

On our site page reloads, when I click on media insert plugin `button`. This changes fix the problems.

I think we have some JS logic on `button`. This is our mistakes. But I think a lot of users may have this issue too, because user think about plugin like a solid element and didn’t know what tags are inside and what side effect it can create.

So I think we should make plugin more isolated with this fix.