Handle async and sync results from form handlers