added button and dismiss by swiping alert up/down