[erp5_core] fixup document deletion dialog

Some document subobjects have a workflow, and so, can be only be deleted from some state
If the listbox does not display them, do not add the state filter parameter
4 jobs for master in 0 seconds
Status Job ID Name Coverage
  External
passed ERP5.CodingStyleTest-Master

00:52:18

passed ERP5.UnitTest-Master

01:16:59

passed SlapOS.Eggs.UnitTest-Master.Python2

00:15:47

passed SlapOS.Eggs.UnitTest-Master.Python3

00:15:57