window size and done button