Fixed issue of unresponsive popup when the value is already set in the model