I've checked HAL and to me everything seems fine but behaviour that you are explaining might be cause of a blank basketno on that webpage. We need a repeatable situation for this to debug and test.
Hello!
You can mark it as closed as option. If document is connected with other documents you can not delete it so you will not be able to delete PO, as you will not be able to remove Goods receipt...