implemented PopUp and AlertBox(not finished)