guard password lineedits by grabbing the keyboard