move comment modal to directive