remove modal dialog trash