only attach to forms that are of the method post; remove cookies when there are no drupal_messages