set autofocus to first field, use complete ajax callback for modal dismiss