Make the pop-up a Fragment instead of setting visibility