Fix for Dialog spacing bug