prepared the popup
workable popup
not working