Creating a modal less dialog

I am very new to juce, in fact I’ve stated few days ago. Studying the tutorial and demo application, i am able to add create an application and added a button on it. now i wants to Show a modaless dialog on click on that button.

What are basic step should i follow t create a modal less dialog. I have tried with