switch-to-buffer is more reliable than select-window
With (helm +childframe) in doom! section, without this patch execute-persistent-action opens an extra non-child frame. This doesn't play nicely with my tiling window manager. This patch is taken from helm-posframe, and seems to fix it.
And display input line in posframe.
Controls posframe's internal-border-width