fixed multiple modal problem