I found a very good article to use forms as a Dialog. Hope it helps everyone….

https://dianabirkelbach.wordpress.com/2020/10/14/transform-forms-into-dialogs-and-more/