error is handled by dialog