added modaltrigger