Make some order in InputDialog

Signed-off-by: Daniele Ricci <daniele.athome@gmail.com>