[autoCompletionDialog]Handle the window resize and the overflow-y.