Had some grammatical errors and bugs

Improved code by correcting and errors and fixed fixed the close button
which did not do anything on being clicked