funtional dialog for add link to post need to make it pretty