Dismiss when select dialog been selected