trying to implement dialogue boxes... right now I just have the space event, but it's still buggy