fix event binding

`afterRender` is called twice, so we had the same event bindings
twice
remove the view
fix trash button

.disabled comes from bootstrap
fix execution order