Avoid pre-selection of account/portfolio when not known

The buy/sell/dividends dialog should not preselect the first account or
portfolio when opening the dialog as it leads to easy erroneous entries.
Preselect only if just one account or portfolio exist.

Issue: #88