Allow the popup to be disabled with an option.