[JavaScript] Pop-Up

Ok, I need to do this in JavaScript but I am new at it and dont quite know the best way of doing this, I need to have it so when a button is pressed a div shows up above everything and all the other ones kind of gry out and are un-clickable.

Any ideas, help or the best option, code?