removed methods which activate windows, because it makes problems when saving