Get ModalDialogFilter working using some assembly

Fix from autc04/Retro68#6