Yep that works... don't glue your hands together. :) this is how I was taught...
dry the end of your coral you want to glue down, let the glue sit for a few seconds out side of the tank to let it set up some. When you place it on the rock or plug swirl the coral w/ glue around to make sure its sticking to something then hold for about 20 seconds... should be good to go. It will probably get bumped off at some point but that is why we have more glue :)