showModal & closeModal have been implemented