Thank you for elaborating on the issue. However, I am still not able to understand what is the exact problem.
Could you please tell us, is the problem the fact that the window closes immediately or the fact that once the window closes, the cell is no longer in edit mode? In both cases, please provide a runnable Dojo
that will help me fully understand the scenario and provide assistance to the best of my knowledge.
In the meantime, I believe that you might be interested in checking the "Add Custom Column Popup Editor" article: