Added input dialog for type