There is no way to know via share library to detect which app user has clicked on dialog because platform doen not provide callback. The workaround is to get the sahrable apps via bridge and show your custom dialog.