login dialog converted to bs modal