#26 resize Option Dialog to proper size dynamically