Changes the logic of WindowManager::messageBox()
Fixes removeItem
Fixes addItem