Use fitsSystemWindows instead of FLAG_LAYOUT_IN_SCREEN for on demand dialog