added open/close page that will close the modude after 2.5 seconds