captures enter on empty LI and thus avoids that firefox inserts a lot of <p></p>