fix(modal): remove useless test regarding trigger option (fixes #374)