OZP-16: correcting an issue with deleting stacks where the an open stack wasn't fully removed from DOM