add confirm popup method