Fix screen width issue caused by hidden modal, change close message and display in modal