easy way to create your popup and bind events as you want