Fix typo.
Remoev unused showBodyChildren() function and update updateLayout() function name.
Switch full_screen config to resize_mode and add a centering mode.
Only udpate positioning if the dialog is open in resize handler.