Refactored the ModalContent commands into a dedicated class. The commands were also updated to be RoutedUICommands.