popup bug fixed, selected option can be done