If set to 0, popup will not hide automatically
Make sure enable Used in Product Listing for your attribute code.