resolves #1773: fixed deletion of just added shipping method. Also fixed the adding of buttons to view forms.