Select line in locationbar when opening new tabs only when text is empty.

Fixes followup to #752