Fixes #8

 * set focus after press enter on the button
 * fire event login after modal is hidden