Grid selection gets lost when a popup is shown

Unfortunately the problem cannot be reconstructed locally.
Could you please, clarify your problem with some kind of link/demo or e the using code.