added new post dialog component