Add beforeShowListener and id for expConfirm

Summary:
So users can set attributes of expConfirm.