clear card form on POST and close