Improved window function dialog