pub fn can_close_window(
    comps: &UiMutex<Components>,
    shell: &RefCell<Shell>
) -> bool