Better button layout in molecule prompt.

+ Cancel button only visible when a molecule is already entered.