Better aim of switching to dialog mode for MainActivity with screen visible height qualifier (Android v13+).