Adding dismiss functionality to flyout overlay.

Change-Id: Ibfbdb2a9f170e1d9b30b50e8639aee25101e71d6
Merge "Adding dismiss functionality to flyout overlay."