added edit modal on post page