Prevents windows to be closed during backup