fixed show/remove document button in the restate edit window