This should close the ModalBar the same way as clicking the Stop button does, which boils down to just calling `modalBar.close()` with no preceding prepareClose() call needed.