Options on popup[OK], JS logic [OK]