front: Simplify some code.

I found the OnCustomLayout name confusing, since it wasn't called on
layout but rather when the dialog closed.  You get pretty much the same
calling simplicity by making Prompt.prefillBuilder public, so
Prompt.promptCustomLayout seems kind of overkill.

Feel free to debate...