UI Resize and Form Focus depending on prompt