close button not working, onLoad fixed

Figured out why the lua wasn't loading properly, now the close button
isn't working properly.