Added option to disable popups when syncing

Maybe it can be done cleaner but here it seems to work fine.