fixed click ui modality bug