add configuration option to disable popup