Object detail view delete button fix

https://github.com/OSU-Net/cyder/issues/50