modal is initialized once and shown 'n' times