ask method wait results before close, and add a spinner