test modal component