add slug field. collapse form after a successful post